package org.zfes.snowier.cloud.zbss.cms.topic.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.topic.model.CmsTopicTxt;
public interface ICmsTopicTxtService{

	 Optional<CmsTopicTxt> loadCmsTopicTxtById(Long id);
	
	 void createCmsTopicTxt(CmsTopicTxt cmsTopicTxt);
	
	 void updateCmsTopicTxt(CmsTopicTxt cmsTopicTxt);

	 void deleteCmsTopicTxt(Long id);
	
	 DataSet loadCmsTopicTxtDataSet(Map<String, Object> params);
	 
	 List<CmsTopicTxt> loadByTopicId(Long topicId);
	 
 	void setCmsTopicTxtStatus(Long id, Byte status);
}